
<%--
  Created by IntelliJ IDEA.
  User: 26056
  Date: 2021/5/13
  Time: 9:23
  To change this template use File | Settings | File Templates.
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript" src="../jquery-3.3.1.min.js"></script>
<html>
<head>
    <title>管理文章</title>
</head>
<body>

<h1>文章：</h1>

<c:forEach items="${Index}" var="str" varStatus="s">

    <form action="/ManageArticle" method="post">
            ${s.count}. ${str.name} ${str.writer} ${str.like}
        <input type="hidden" name="reqArticle" value = "${str.name}">
        <input type="hidden" name="user" value = "${user}"><br>
        <input type="submit" value="删除"><br>
    </form>

</c:forEach>

<td>
    <form action="/login/admin.jsp" method="post">
        <input type="submit" value="返回用户界面">
    </form>
</td>

</body>
</html>
